package com.myapp.struts.modele;

import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author jackson
 */
public class Matiere {
    
    private int idmatiere;
    private String nom;
    private Hashtable<Etudiant,EstAbsent> absence;
    private List<Cours> cours;

    public Matiere() {
    }

    public Matiere(int idmatiere, String nom, Hashtable<Etudiant, EstAbsent> absence, List<Cours> cours) {
        this.idmatiere = idmatiere;
        this.nom = nom;
        this.absence = new Hashtable<Etudiant, EstAbsent>();
        this.cours = new ArrayList<Cours>();
    }

    public int getIdmatiere() {
        return idmatiere;
    }

    public void setIdmatiere(int idmatiere) {
        this.idmatiere = idmatiere;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public Hashtable<Etudiant, EstAbsent> getAbsence() {
        return absence;
    }

    public void setAbsence(Hashtable<Etudiant, EstAbsent> absence) {
        this.absence = absence;
    }

    public List<Cours> getCours() {
        return cours;
    }

    public void setCours(List<Cours> cours) {
        this.cours = cours;
    }

    
}
